package com.shmet.tool.localcall.controller;

import com.shmet.tool.localcall.service.CommonServiceProxy;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author shmet
 * @date 2022/7/8 18:11
 * @desc
 */
@RestController
@RequestMapping(value = {"/api/common"})
public class BizController {

    @Autowired
    private CommonServiceProxy commonServiceProxy;

    @RequestMapping("/hello/{module}")
    public String hello(@PathVariable String module) {
        return commonServiceProxy.hello(module);
    }
}
